<template name="gDetails">
  <div class="s7-content">
    {{#if goods.imgs}}
    <div class="swiper-container s7-swiper" style="height:180px;margin-top:0 !important">
      <div class="swiper-wrapper">
        {{#each item in goods.imgs}}
        <div class="swiper-slide pb-view">
          <img class="s7-slide" src="{{item.path}}">
        </div>
        {{/each}}
      </div>
      <div class="swiper-pagination"></div>
    </div>
    {{/if}}
    {{#with goods}}
    <div class="s7-detail-title">
      <div class="s7-detail-title-1" style="font-size:1.0rem">{{name}}</div>
      <div class="s7-detail-title-3">
        <span class="s7-detail-p">
          <span style="color:#0188FB;font-size:1.3rem">￥{{sell_price}}</span>
          <span style="font-size:0.8rem;color:#3C414E">&nbsp;&nbsp;门市价：￥{{market_price}}</span>
        </span>
        <a href="/goodsBuy?goods_id={{id}}&merchant_id={{merchant_id}}" class="external"><span class="s7-detail-buy" style="letter-spacing:2px;width:90px">立即抢购</span></a>
      </div>
    </div>
    <div class="s7-box-text">
      {{strtohtml introduction}}
    </div>
    {{/with}}
  </div>
</template>
